package com.e2oto.seller.modules.seller.ui;

import android.view.View;

import com.e2oto.seller.R;
import com.e2oto.seller.common.base.BaseMvpActivity;
import com.e2oto.seller.modules.seller.dialog.CloseShopDialog;
import com.e2oto.seller.modules.seller.presenter.ShopClosePresenter;
import com.e2oto.seller.modules.seller.views.ShopCloseView;

import butterknife.OnClick;

/**
 * Created by ZhangLiQiang on 2017/11/11.
 */

public class ShopCloseActivity extends BaseMvpActivity<ShopCloseView, ShopClosePresenter> implements ShopCloseView {

    @Override
    protected ShopClosePresenter createPresenter() {
        return new ShopClosePresenter();
    }

    @Override
    protected int getContentView() {
        return R.layout.activity_shop_close;
    }

    @OnClick({R.id.close_shop_commit})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.close_shop_commit:
                CloseShopDialog dialog = new CloseShopDialog(this);
                dialog.show();
                break;
        }
    }
}
